package cn.js.sangu.unitStore.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.js.sangu.unitStore.entity.CodeLib;

@Mapper
public interface CodeLibMapper extends BaseMapper<CodeLib> {

    /**
     * 清空码库表并重置自增ID
     */
    @Update("TRUNCATE TABLE code_lib")
    void truncateTable();

}
